package com.ljx.client;

import com.ljx.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author 李加喜
 * @date 2020/10/2 0002 8:17
 * @Email 1129071273@qq.com
 */
@Component
@FeignClient("service-ucenter")
public interface UnCenterInterface {
    //引用UnCenter里面的接口
    @PostMapping("/eduucenter/member/getMember/{userId}")
    public UcenterMemberOrder getMenById(@PathVariable("userId") String userId);
}
